<?php
?>

<div id="s_lm" class="left_menu s_lm" >

  <div class="left_menu_top"></div>
  <div class="left_menu_main">
    <ul id="nav">

     <li>
        <h5></h5>
        <ul style="display: block;" id="ChildMenu2" class="IClass collapsed" time="5:45-9:14" classtype="B">
		<?php
		$sql1=mysql_query("select * from tb_type where typegroup=0 order by id desc limit 15",$conn);

		while($info1=mysql_fetch_array($sql1)){

		?>
             <li>
				<a href="shopping.php?typeid=<?php echo $info1['id'];?>"><?php echo $info1['typename'];?></a>
			 </li>
		<?php }?>
        </ul>
      
      </li>
      <li>
        <h6></h6>
        <ul style="display: block;" id="ChildMenu3" class="IClass collapsed" time="9:15-22:44" classtype="L">
		<?php
		$sql1=mysql_query("select * from tb_type where typegroup=1 order by id desc limit 15",$conn);

		while($info1=mysql_fetch_array($sql1)){

		?>
             <li>
				<a href="shopping.php?typeid=<?php echo $info1['id'];?>"><?php echo $info1['typename'];?></a>
			 </li>
		<?php }?>
          
        </ul>
      </li>

    </ul>
    <p class="span_3" style="margin:0 3px 5px;">
    <img src="kfc_files/index_intro.png">
    </p>
  </div>
  <div class="left_menu_btm"></div>
</div>